package alex.edu;

import java.util.Date;

public class Status {
	private Date created_at;
	private String status;
	private int id;
	private User user;

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date createdAt) {
		created_at = createdAt;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Status(Date createdAt, String status, int id, User user) {
		super();
		created_at = createdAt;
		this.status = status;
		this.id = id;
		this.user = user;
	}

	@Override
	public String toString() {
		return user.getFirst_name() + ": " + status;
	}

}
